package com.wzy.vx.Utils;

import java.util.Random;

/**
 * @ProjectName: vx
 * @Package: com.wzy.vx.Utils
 * @ClassName: KeyUtil
 * @Author: Administrator
 * @Description: ${description}
 * @Date: 2019/3/13 14:45
 * @Version: 1.0
 */
public class KeyUtil {
    //s生成主键
    public  static synchronized String unKey(){
        Random random = new Random();
        System.currentTimeMillis();
        Integer a = random.nextInt(900000) + 100000;
        return System.currentTimeMillis()+String.valueOf(a);
    }
}
